package com.lhd.creational.factory.method;

/**
 * @Author: liuhd
 * @Date: 2024/10/20 11:05
 * @Description:
 */
public abstract class Coffee {
    public abstract String getName();
    public void addSugar(){
        System.out.println("加糖");
    }
    public void addMilk(){
        System.out.println("加奶");
    }
}
